package com.qf.dao;

import com.qf.domain.Goods;

import java.util.List;

public interface GoodsDao {
    long getCount(String where, List<Object> params);

    List<Goods> selectByPage(int page_num, int page_size, String where, List<Object> params);

    Goods findById(Integer id);

    void add(Goods goods);

    List<Goods> findGoods(String where, List<Object> params);

    void removeById(String id);

    Goods find(String id);

    void modify(Goods goods);

}
